(prompt "For correct operation, AmiSlate needs two assigns to be present. These assigns are \n\nSlateRexx: and SlateScripts:\n\n and should be assigned to the installed directories with the same names. Do you wish me to put the appropriate assigns in your s:user-startup?")
(help "Sometimes a remote AmiSlate client will request the local one to run an ARexx macro or a AmiSlate recording. These assigns will be the default directories for these scripts.")
(message "\n\nAmiTCP does not appear to be set up on your system. (Specifically, the assign AmiTCP: has not been made) Because of this, I am unable to configure the amitcp:db/services and amitcp:db/inetd.conf files.\n\nIf you wish to use the network functions of AmiSlate, you will need to set up AmiTCP and install again.")
(prompt "If you plan to be running AmiSlate in conjunction with AmiTCP, the line:\n\nAmiSlate 2955/tcp\n\nneeds to be present in your amitcp:db/services file. Do you wish me to append this line to that file?\n\n(Note: this does not check to see if the line is already in the file! If you've installed AmiSlate before, skip this part)")
(help "Including this line in your amitcp:db/services file tells AmiTCP's inet daemon that all requests on port 2955 should be sent to the AmiSlate program for further processing. If this line is not included, you will not be able to receive AmiSlate requests from other people.")
(dest "t:AmiSlate.AppendMeToServices")
(append "\nAmiSlate 2955/tcp\n")
(confirm)
)
(set AddServiceString ("join amitcp:db/services t:AmiSlate.AppendMeToServices as t:AmiSlate.Temp1"))
(set InetDPrompt ("Also, if you plan to be running AmiSlate in conjunction with AmiTCP, the line:\n\n%s\n\nneeds to be present in your amitcp:db/inetd.conf file. Do you wish me to append this line to that file? (Note: this does not check to see if the line is already in the file! If you've installed AmiSlate before, skip this part)" InetDString))
(help "Including this line in your amitcp:db/inetd.conf file tells AmiTCP which program to run whenever it gets an AmiTCP request. It is important that the file path and name in this line reflect the location of the AmiSlate executable.")
(dest "t:AmiSlate.AppendMeToInetD")
(append InternalInetString)
(confirm)
)
(set AddInetString ("join amitcp:db/inetd.conf t:AmiSlate.AppendMeToInetD as t:AmiSlate.Temp2"))